package com.fourth.shopping.mapper;


import com.fourth.shopping.entity.Cart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CartMapper {

    /**
     * 获取所有订单信息
     * @return
     */
    List<Cart> getCartDate(@Param("userId") String userId);

}